InvalidateFacetUnderMouse
Mac OSThe
InvalidateFacetUnderMouse
method sets the facet pointer, corresponding to the facet under the mouse, tokODNULL
.
void InvalidateFacetUnderMouse ();DISCUSSION
When a facet is removed, OpenDoc calls this method to set the facet pointer tokODNULL
(that is, invalidate the cache) and the mouse region to an empty region. This method sets up theGetMouseRegion
method (on its next call) to recompute which facet is under the mouse and send mouse-enter, mouse-within, or mouse-leave events, as required.Your part can call this method to reset the mouse region to a 1-by-1 pixel area at the cursor position.
SEE ALSO
TheODDispatcher::GetMouseRegion
method (page 118).
"Mouse-Up Tracking" on page 217 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help